package com.zhuoshi.bean;

import java.util.ArrayList;
import java.util.List;

public class Orders {
	private Integer oid;
	private String oname;
	private String ocode;
	
	private Integer pid;
	
	
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	private Person person;
	private List<OrderDetile> orderDetiles = new ArrayList<OrderDetile>();
	
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	
	public List<OrderDetile> getOrderDetiles() {
		return orderDetiles;
	}
	public void setOrderDetiles(List<OrderDetile> orderDetiles) {
		this.orderDetiles = orderDetiles;
	}
	public Integer getOid() {
		return oid;
	}
	public void setOid(Integer oid) {
		this.oid = oid;
	}
	public String getOname() {
		return oname;
	}
	public void setOname(String oname) {
		this.oname = oname;
	}
	public String getOcode() {
		return ocode;
	}
	public void setOcode(String ocode) {
		this.ocode = ocode;
	}
	
}
